package com.StarStudio.DAO;

import com.ruoyi.common.core.Entity.Complaint;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ComplaintDAO {

    void insertComplaint(Complaint complaint);

    void updateComplaint(Complaint complaint);

    List<Complaint> selectComplaint(Complaint complaint);

    void deleteComplaint(Long id);

    List<Complaint> selectRecentlyComplaint();

    long findAllRecordNumber();
}
